package com.wu.constant;

/**
 * @author: 吴磊
 * @program: blog
 * @create: 2021-04-19 21:47
 */
public interface Constant {
    String IS_ENABLE_COMMENT_AUDIT = "isEnableCommentAudit";
    String NOT_PASS_COMMENT_COUNT = "notPassCommentCount";
    String IS_OWNER_MAIN_UI = "isOwnerMainUI";
    String FANS = "fans";
    String USER_MAIN_INFO = "UserMainInfo";
    String FALSE_STRING = "false";
    String TRUE_STRING = "true";
    String ALL_NOT_FRIEND = "allNotFriend";
    String FRIENDS = "friends";
    String REGISTRATION_TIME = "registrationTime";
    String USERS = "users";
    String TOKEN = "token";
    String LOGIN_USER = "login_user";
    String ADMIN = "admin";
    String NOT_ADMIN = "notAdmin";
    String REPORT_ID = "report_id";
    String COMMENT_ID = "comment_id";
    String BLOG = "blog";
    String COMMENT_REPORTS = "commentReports";
    String ARTICLE_REPORT = "articleReport";
    String NOT_PASS_COMMENT = "notPassComment";
    String CURPAGE = "curPage";
    String PAGES = "pages";
    String TOTAL = "total";
    String ARTICLE_IDS = "articleIds";
    String ARTICLE_DATE = "article_date";
    String USER_ID = "userId";
    String ARTICLE_WAY = "articleWay";
    String OWNER = "owner";
    String IS_FRIEND = "isFriend";
    String LIKE = "like";
    String ARTICLE_REPORTS = "articleReports";
    String ARTICLE = "article";
    String ARTICLES = "articles";
    String CODE = "code";
    String AUTHORIZATION = "Authorization";
    String ERROR_CODE = "errorCode";
    String ERROR_MSG = "errorMsg";
    String ERROR_STATUS = "500";
    String SUCCESS_STATUS = "200";

    /**
     * 返回评论map常量
     */
    String COMMENTS = "comments";

    /**
     * 总页数常量
     */
    String TOTAL_PAGE = "totalPage";

    /**
     * 收藏常量
     */
    String COLLECT = "collect";

    /**
     * 总数量常量
     */
    String COUNT = "count";

    /**
     * 默认值 ： default
     */
    String DEFAULT_ = "default";
    /**
     * 当前页的默认值 ： 1
     */
    String ONE = "1";

    /**
     * 空值的默认值   ''
     */
    String DEFAULT_NULL_VALUE = "";

    /**
     * 默认页面大小  ： 10
     */
    Integer DEFAULT_PAGE_SIZE = 10;

    /**
     * 空 null 常量
     */
    String DEFAULT_NULL_STRING = "null";

    /**
     * 零常量
     */
    String ZERO = "0";

    /**
     * 常量：相应信息
     */
    String CONTEXT_NICK_NAME = "CONTEXT_NAME";
    String CONTEXT_PHONE = "CONTEXT_PHONE";
    String CONTEXT_IMAGE = "CONTEXT_IMAGE";
    String CONTEXT_DATE = "CONTEXT_DATE";
    String JWT_PRIVATE_KEY = "blog";
    /**
     * 文章点赞数
     * 文章ID+"_ARTICLE_UP_COUNT"   (String)
     */
    String _ARTICLE_UP_COUNT = "_ARTICLE_UP_COUNT";

    /**
     * 文章点赞的用户（为了方便删除）
     * Key：文章ID+"_ARTICLE_UP_USER"  Value：用户ID  （Set）
     */
    String _ARTICLE_UP_USER = "_ARTICLE_UP_USER";

    /**
     * 用户赞的文章
     * 用户ID+"_ARTICLE_UP"  :  文章ID   (Set)
     */
    String _ARTICLE_UP = "_ARTICLE_UP";

    /**
     * 文章评论数量
     * 文章ID+"_COMMENT_COUNT"  (String)
     */
    String _COMMENT_COUNT = "_COMMENT_COUNT";

    /**
     * 文章浏览量数量
     * key：ARTICLE_VIEWS   Value：文章ID    Scores：0   （Zset）
     */
    String ARTICLE_VIEWS = "ARTICLE_VIEWS";

    /**
     * 用户关注
     * Key：用户ID+"_FOCUS"   Value：用户ID   (Set)
     */
    String _FOCUS = "_FOCUS";

    /**
     * 用户粉丝
     * Key：用户ID+"_FANS"    Value：用户ID   (Set)
     */
    String _FANS = "_FANS";

    /**
     * 文章收藏数
     * 文章ID+"_COLLECT_COUNT" (String)
     */
    String _COLLECT_COUNT = "_COLLECT_COUNT";

    /**
     * 文章收藏的用户（为了方便删除）
     * Key：文章ID+"_COLLECT_USER"   Value：用户ID  （Set）
     */
    String _COLLECT_USER = "_COLLECT_USER";

    /**
     * 用户收藏了哪些文章
     * Key：用户ID+"_COLLECT"    Value ：文章ID  (Set)
     */
    String _COLLECT = "_COLLECT";

    /**
     * 个人文章的被浏览总量
     * 用户ID+"_ARTICLE_VIEWS_COUNT"    (String)
     */
    String _ARTICLE_VIEWS_COUNT = "_ARTICLE_VIEWS_COUNT";

    /**
     * 个人文章的被点赞总量
     * 用户ID+"_UP_COUNT"    (String)
     */
    String _UP_COUNT = "_UP_COUNT";

    /**
     * 个人文章的总被收藏量
     * 用户ID+"_COLLECT_COUNT"  (String)
     */
//    String _COLLECT_COUNT  = "_COLLECT_COUNT";

    /**
     *个人文章的总评论数
     * 用户ID+"_COMMENT_COUNT"  (String)
     */
//    String _COMMENT_COUNT = "_COMMENT_COUNT";
}
